package cn.yunhe.beans;

public class OrderDetail {

    private int detail_id;

    private String order_id;

    private String item_id;

    public int getDetail_id() {
        return detail_id;
    }

    public void setDetail_id(int detail_id) {
        this.detail_id = detail_id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getItem_id() {
        return item_id;
    }

    public void setItem_id(String item_id) {
        this.item_id = item_id;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"detail_id\":")
                .append(detail_id);
        sb.append(",\"order_id\":\"")
                .append(order_id).append('\"');
        sb.append(",\"item_id\":\"")
                .append(item_id).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
